import store from '@/store';
import { defineStore } from 'pinia'
import { AnglingVO } from "@/api/front/angling/types";

const useFishSiteStore = defineStore('fishSite', () => {
  let fishSite = reactive<AnglingVO>(<AnglingVO>{})

  const setFishSite = async (value: AnglingVO) => {

    Object.assign(fishSite, toRefs(value));
  }
  return {
    fishSite,
    setFishSite
  }
})

export default useFishSiteStore